
package estacionamento;

import java.awt.Color;
import java.sql.SQLException;
import javax.swing.LookAndFeel;
import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
import javax.swing.UnsupportedLookAndFeelException;


public class Estacionamento
{
    
    

   
    public static void main(String[] args) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException 
    {

        //PRA MUDAR O ESTILO DA JANELA...
                    LookAndFeel lf = UIManager.getLookAndFeel();
try {  
 for ( LookAndFeelInfo info : UIManager.getInstalledLookAndFeels() ) {  
 if ( "Nimbus".equals( info.getName() ) ) {  
 UIManager.setLookAndFeel( info.getClassName() );  
 break;  
 }  
 }  
 } catch ( UnsupportedLookAndFeelException exc ) {  
 } catch ( ClassNotFoundException exc ) {  
 } catch ( InstantiationException exc ) {  
 } catch ( IllegalAccessException exc ) {  
}

UIManager.put( "nimbusBase", new Color( 140, 103, 59 ) );  
UIManager.put( "nimbusBlueGrey", new Color( 190, 189, 170 ) );  
UIManager.put( "control", new Color( 221, 223, 212 ) );
        
        Conexao.conecta();
        
        JanelaLogin login = new JanelaLogin();
        login.setVisible(true);
        
        //TelaPrincipal telaPrincipal = new TelaPrincipal();
        //telaPrincipal.setVisible(true);
    }
}
